package app.vendorportal.api.marketplace.data;

import app.vendorportal.api.data.ShippingMethodInfo;
import app.vendorportal.api.data.WarehouseInfo;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import java.util.Date;

/**
 * @author Bribin
 * @createdDate Oct 11, 2013
 */
@XmlRootElement(name = "delivery-info")
@XmlAccessorType(XmlAccessType.FIELD)
public class DeliveryInfo {

    @XmlElement(name = "warehouse-info")
    private WarehouseInfo warehouseInfo;

    @XmlElement(name = "shipping-method-info")
    private ShippingMethodInfo shippingMethodInfo;

    @XmlElement(name = "ship-date")
    private Date shipDate;

    @XmlElement(name = "delivery-date")
    private Date deliveryDate;

    @XmlElement(name = "tnt")
    private int tnt;

    public Date getShipDate() {
        return shipDate;
    }

    public void setShipDate(Date shipDateBeforeCutoff) {
        this.shipDate = shipDateBeforeCutoff;
    }

    public Date getDeliveryDate() {
        return deliveryDate;
    }

    public void setDeliveryDate(Date deliveryDateBeforeCutoff) {
        this.deliveryDate = deliveryDateBeforeCutoff;
    }

    public int getTnt() {
        return tnt;
    }

    public void setTnt(int tnt) {
        this.tnt = tnt;
    }

    public WarehouseInfo getWarehouseInfo() {
        return warehouseInfo;
    }

    public void setWarehouseInfo(WarehouseInfo warehouseInfo) {
        this.warehouseInfo = warehouseInfo;
    }

    public ShippingMethodInfo getShippingMethodInfo() {
        return shippingMethodInfo;
    }

    public void setShippingMethodInfo(ShippingMethodInfo shippingMethodInfo) {
        this.shippingMethodInfo = shippingMethodInfo;
    }

}
